home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / fs_sand.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  930 b   |  45 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.     }
  14.     client
  15.     {
  16.         //cache some stuff used in this effect
  17.         cache bhole_snow.spr // cache the bullet hole shader
  18.         cache bh_sand.spr
  19.  
  20.         // drifting smoke
  21.         sfx originspawn
  22.         (
  23.             volumetric
  24.             model bulletdirtimpact    // sets the type of smoke
  25.             life 15        // amount of smoke
  26.             count 10
  27.             smokeparms 0 1.0 2.0
  28.             scale 2        // radius
  29.             alpha 0.4    // density
  30. //            color 0.75 0.6 0.4    // RBG color of the smoke
  31.             color 0.75 0.7 0.6    // RBG color of the smoke
  32.             velocity 8    // base velocity away from the surface
  33.             randvelaxis random 12 crandom 16 crandom 16
  34. //            offsetalongaxis random 40 crandom 2 crandom 2    // positional offset
  35.             cone 10 6            // height radius
  36. //            collision // turn on collision detection
  37.         )
  38.     }
  39. }
  40.  
  41. // This section is just needed to be a valid tiki file
  42. animations
  43. {
  44.     idle dummy2.skc 
  45. }